package com.zp.drug.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 处方权限配置视图对象
 *
 * @author zhang peng
 * @ date 2023-06-19
 */
@Data
@ExcelIgnoreUnannotated
public class DrugPresPermissionsConfVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String permissionsConfId;
    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private String userId;

    /**
     * 毒理分类  DRUG_TOXI_PROPERTY_DICT字典值
     */
    @ExcelProperty(value = "毒理分类  DRUG_TOXI_PROPERTY_DICT字典值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "drug_toxi_property_dict")
    private String toxiProperty;

    /**
     * 限制等级  LIMIT_CLASS_DICT字典值
     */
    @ExcelProperty(value = "限制等级  LIMIT_CLASS_DICT字典值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "limit_class_dict")
    private String limitClass;

    /**
     * 组织机构ID
     */
    @ExcelProperty(value = "组织机构ID")
    private String orgId;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户角色类型（1：超管（平台管理员）；2：机构管理员；3：普通用户）
     */
    private String customerType;

    /**
     * 证件类型
     */
    private String certificateType;

    /**
     * 证件号码
     */
    private String certificateNo;

    /**
     * 用户账号
     */
    private String userName;


}
